package cn.sccl.dirms.security.service;

import cn.sccl.common.model.PageResult;
import cn.sccl.common.model.QueryData;
import cn.sccl.common.service.BaseManager;
import cn.sccl.dirms.security.model.Role;
import cn.sccl.dirms.security.model.RoleExtend;
import cn.sccl.dirms.security.model.UserAndRole;

/**
 * Created by 杨浩宇 on 2016-02-24.
 */
public interface UserAndRoleManager extends BaseManager<UserAndRole> {

    public PageResult<RoleExtend> getUserRoleInfo(long pageIndex, int pageSize, QueryData queryData);
    public PageResult<Role> getUserAvailRoleInfo(long pageIndex, int pageSize, QueryData queryData);
}